Skip to content

Remove use of NOSOCKET - #1343

Merged
NicolasDorier merged 2 commits into
MetacoSA:masterfrom
Carti-it:remove-NOSOCKET
Sep 25, 2026
Merged

NicolasDorier merged 2 commits into
MetacoSA:masterfrom
Carti-it:remove-NOSOCKET

Conversation

@Carti-it

Copy link
Copy Markdown
Contributor

Stacked on #1342

NOSOCKET was removed in #1243 (commit 4780a7f)


builder.SetConsensus(consensus);

#if !NOSOCKET

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correctness of this file can be verified by looking that there are no more #if in this file.

@@ -1,5 +1,4 @@
#if !NOSOCKET

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If #if !NOSOCKET is removed from the first line, then it's safe to remove the last line containing #endif. This is because the whole file was not meant to be compiled for some TFMs.

@Carti-it
Carti-it marked this pull request as ready for review September 25, 2026 09:35
@NicolasDorier
NicolasDorier merged commit d56029b into MetacoSA:master Sep 25, 2026
6 checks passed
@Carti-it
Carti-it deleted the remove-NOSOCKET branch September 25, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants